package main.java.factory.impl;

import main.java.factory.CharacterFactory;

/**
 * @author xin麒
 * @date 2023/2/9 8:49
 */
public class CharacterBFactory implements CharacterFactory {
    private char type = 'B';

    @Override
    public char getCharacter() {
        return type;
    }

    @Override
    public void showCharacterType() {
        System.out.println("this is "+ type + " type");
    }
}